﻿namespace SS.WPF.Framework.Selection
{
    /// <summary>
    /// The i selection changed provider.
    /// </summary>
    public interface ISelectionChangedProvider
    {
        #region Public Methods

        /// <summary>
        /// The get selection.
        /// </summary>
        /// <returns>
        /// </returns>
        ISelection GetSelection();

        /// <summary>
        /// Set selection from specified instant of class implements interface ISelection
        /// </summary>
        /// <param name="sender">
        /// The sender that invoke this method
        /// </param>
        /// <param name="selection">
        /// Instant of class implements interface ISelection
        /// </param>
        void SetSelection(object sender, ISelection selection);

        #endregion
    }
}